#include "Edge.h"

Edge::Edge(void)
{
	//empty constructor
	this->checked = false;
	this->hasrp = false;

}

Edge::Edge(MatrixXd e){
	this->endpoint = e;
	this->checked = false;
	this->hasrp = false;

}

VectorXd Edge::getRidgePoint(){
	return this->ridgepoint;
}

void Edge::setRidgePoint_FTLE(double f){
	this->rp_ftle = f;
}
void Edge::setRidgePoint_Convex(double c){
	this->rp_convex = c;
}

void Edge::setHasRidgePoint(){
	this->hasrp = true;
}

bool Edge::hasRidgePoint(){
	return this->hasrp;
}

void Edge::setRidgePoint(VectorXd rp){
	this->ridgepoint = rp;
}

double Edge::getRidgePoint_FTLE(){
	return this->rp_ftle;
}

double Edge::getRidgePoint_Convex(){
	return this->rp_convex;
}

MatrixXd Edge::getEndPoints() const{
	return this->endpoint;
}

bool Edge::isChecked(){
	return this->checked;
}

void Edge::setChecked(){
	this->checked = true;
}

Edge::~Edge(void)
{
}
